

package graphics3d.figures;

import graphics3d.Matrix;
import graphics3d.Object3d;
import graphics3d.Ribs;


public class Centr {
    
    public static Object3d getFigure() {
        
        double[] centr_vertexes = new double[]{-1, 1,  0, 0,  0, 0,
                                                0, 0, -1, 1,  0, 0,
                                                0, 0,  0, 0, -1, 1,
                                                1, 1,  1, 1,  1, 1};
        boolean[] centr_ribs = new boolean[]{true, false, false, false, false, 
                                                   false, false, false, false,
                                                           true, false, false,
                                                                 false, false,
                                                                         true};
        Object3d centr = new Object3d(new Matrix(5, centr_vertexes), new Ribs(5, centr_ribs));
        
        return centr;
        
    }
    
}
